<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>生命记录 | 人生时光轴</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            /* 优化配色方案 */
            --color01: #534739; /* 深棕色 */
            --color02: #9E8774; /* 棕褐色 */
            --color03: #F0F2F1; /* 米白色 */
            --color04: #1F2D33; /* 深青色 */
            --color05: #0D0D0C; /* 近黑色 */
            
            /* 增强玻璃质感 */
            --glass: rgba(240, 242, 241, 0.85);
            --glass-border: rgba(255, 255, 255, 0.4);
            --glass-shadow: rgba(83, 71, 57, 0.25);
            
            /* 动画效果 */
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
        }

        body {
            background: linear-gradient(135deg, #F0F2F1 0%, #e8eaea 100%);
            color: var(--color01);
            min-height: 100vh;
            overflow-x: hidden;
            padding: 0;
            background-image: url('');
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* 顶部导航栏 - 增强玻璃效果 */
        .navbar {
            position: sticky;
            top: 0;
            z-index: 100;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 30px;
            background: var(--glass);
            backdrop-filter: blur(12px) saturate(180%);
            -webkit-backdrop-filter: blur(12px) saturate(180%);
            border-radius: 0 0 20px 20px;
            margin-bottom: 20px;
            box-shadow: 0 4px 20px var(--glass-shadow);
            border: 1px solid var(--glass-border);
            border-top: none;
            transition: var(--transition);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo-icon {
            font-size: 28px;
            color: var(--color04);
            animation: pulse 2s infinite;
        }

        .logo-text {
            font-size: 24px;
            font-weight: 600;
            letter-spacing: 1px;
            background: linear-gradient(45deg, var(--color05), var(--color01));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            position: relative;
        }

        /* 导航链接 */
        .nav-toggle {
            display: none;
            font-size: 24px;
            color: var(--color01);
            cursor: pointer;
            z-index: 101;
        }

        .nav-links {
            display: flex;
            gap: 20px;
        }

        .nav-link {
            text-decoration: none;
            color: var(--color01);
            font-size: 16px;
            font-weight: 500;
            padding: 8px 14px;
            border-radius: 50px;
            transition: var(--transition);
            position: relative;
        }

        .nav-link:hover {
            background: rgba(255, 255, 255, 0.3);
            color: var(--color04);
        }

        .nav-link.active {
            background: rgba(158, 135, 116, 0.2);
            color: var(--color04);
        }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 50%;
            transform: translateX(-50%);
            width: 6px;
            height: 6px;
            background: var(--color04);
            border-radius: 50%;
        }

        .user-actions {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .search-box {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.6);
            border-radius: 50px;
            padding: 6px 12px;
            transition: var(--transition);
        }

        .search-box:hover {
            background: rgba(255, 255, 255, 0.8);
            box-shadow: 0 0 15px rgba(158, 135, 116, 0.2);
        }

        .search-box input {
            background: transparent;
            border: none;
            outline: none;
            padding: 5px 10px;
            width: 160px;
            color: var(--color01);
            font-size: 15px;
        }

        .search-box i {
            color: var(--color02);
        }

        .user-profile {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--color02), var(--color01));
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color03);
            font-weight: bold;
            cursor: pointer;
            box-shadow: 0 4px 12px var(--glass-shadow);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .user-profile::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transition: 0.5s;
        }

        .user-profile:hover::before {
            left: 100%;
        }

        .user-profile:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 18px rgba(83, 71, 57, 0.35);
        }

        /* 主内容区 */
        .main-content {
            margin-bottom: 40px;
        }

        /* 右侧内容区 - 增强玻璃效果 */
        .content-area {
            background: var(--glass);
            backdrop-filter: blur(12px) saturate(180%);
            -webkit-backdrop-filter: blur(12px) saturate(180%);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 8px 32px var(--glass-shadow);
            border: 1px solid var(--glass-border);
            animation: fadeIn 0.8s ease-out;
        }

        /* 生命记录页面特定样式 */
        .page-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(158, 135, 116, 0.2);
        }
        
        .page-title {
            font-size: 32px;
            background: linear-gradient(45deg, var(--color05), var(--color01));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            position: relative;
        }
        
        .page-subtitle {
            color: var(--color02);
            font-size: 16px;
            margin-top: 5px;
            font-weight: 500;
        }
        
        .record-actions {
            display: flex;
            gap: 15px;
        }
        
        .record-action-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 12px 25px;
            border-radius: 50px;
            background: linear-gradient(135deg, var(--color02), var(--color01));
            color: var(--color03);
            border: none;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 4px 12px var(--glass-shadow);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .record-action-btn.secondary {
            background: transparent;
            color: var(--color01);
            border: 1px solid var(--color02);
        }
        
        .record-action-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(83, 71, 57, 0.35);
        }
        
        .filter-section {
            background: rgba(255, 255, 255, 0.65);
            border-radius: 15px;
            padding: 25px;
            margin-bottom: 30px;
            box-shadow: 0 4px 15px var(--glass-shadow);
            border: 1px solid var(--glass-border);
            backdrop-filter: blur(5px);
        }
        
        .filter-row {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 15px;
        }
        
        .filter-group {
            flex: 1;
            min-width: 200px;
        }
        
        .filter-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--color01);
        }
        
        .filter-select {
            width: 100%;
            padding: 12px 15px;
            border-radius: 10px;
            border: 1px solid var(--glass-border);
            background: rgba(255, 255, 255, 0.6);
            font-size: 15px;
            color: var(--color01);
            transition: var(--transition);
        }
        
        .filter-select:focus {
            outline: none;
            border-color: var(--color02);
            box-shadow: 0 0 0 3px rgba(158, 135, 116, 0.2);
        }
        
        .record-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
        }
        
        .record-card {
            background: rgba(255, 255, 255, 0.8);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 4px 15px var(--glass-shadow);
            border: 1px solid var(--glass-border);
            transition: var(--transition);
            position: relative;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .record-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 25px rgba(83, 71, 57, 0.3);
        }
        
        .record-media {
            height: 200px;
            overflow: hidden;
            position: relative;
        }
        
        .record-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .record-card:hover .record-media img {
            transform: scale(1.05);
        }
        
        .record-type {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(255, 255, 255, 0.9);
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            color: var(--color01);
            letter-spacing: 1px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .record-content {
            padding: 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .record-date {
            font-size: 14px;
            color: var(--color02);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .record-title {
            font-size: 20px;
            font-weight: 600;
            color: var(--color05);
            margin-bottom: 12px;
            line-height: 1.3;
        }
        
        .record-desc {
            color: var(--color01);
            line-height: 1.6;
            font-size: 15px;
            margin-bottom: 20px;
            flex-grow: 1;
        }
        
        .record-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: auto;
        }
        
        .record-tag {
            background: rgba(158, 135, 116, 0.15);
            color: var(--color01);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }
        
        .record-actions-bar {
            display: flex;
            justify-content: space-between;
            border-top: 1px solid rgba(158, 135, 116, 0.1);
            padding: 15px 20px;
            background: rgba(255, 255, 255, 0.6);
        }
        
        .action-icon {
            display: flex;
            align-items: center;
            gap: 6px;
            color: var(--color02);
            font-size: 14px;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .action-icon:hover {
            color: var(--color04);
        }
        
        .add-record-form {
            background: rgba(255, 255, 255, 0.8);
            border-radius: 15px;
            padding: 30px;
            margin-top: 30px;
            box-shadow: 0 4px 20px var(--glass-shadow);
            border: 1px solid var(--glass-border);
            backdrop-filter: blur(5px);
            display: none;
        }
        
        .form-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }
        
        .form-title {
            font-size: 24px;
            background: linear-gradient(45deg, var(--color05), var(--color01));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .close-form {
            background: transparent;
            border: none;
            font-size: 24px;
            color: var(--color02);
            cursor: pointer;
            transition: var(--transition);
        }
        
        .close-form:hover {
            transform: rotate(90deg);
            color: var(--color04);
        }
        
        .form-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group.full-width {
            grid-column: span 2;
        }
        
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--color01);
        }
        
        .form-control {
            width: 100%;
            padding: 12px 15px;
            border-radius: 10px;
            border: 1px solid var(--glass-border);
            background: rgba(255, 255, 255, 0.6);
            font-size: 15px;
            color: var(--color01);
            transition: var(--transition);
        }
        
        .form-control:focus {
            outline: none;
            border-color: var(--color02);
            box-shadow: 0 0 0 3px rgba(158, 135, 116, 0.2);
        }
        
        .form-actions {
            display: flex;
            gap: 15px;
            justify-content: flex-end;
            grid-column: span 2;
            margin-top: 10px;
        }
        
        .btn {
            padding: 10px 25px;
            border-radius: 50px;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            border: none;
        }
        
        .btn-primary {
            background: linear-gradient(135deg, var(--color02), var(--color01));
            color: var(--color03);
            box-shadow: 0 4px 12px var(--glass-shadow);
        }
        
        .btn-secondary {
            background: transparent;
            color: var(--color01);
            border: 1px solid var(--color02);
        }
        
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 18px rgba(83, 71, 57, 0.3);
        }
        
        /* 动画定义 */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        
        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        
        /* 响应式设计 */
        @media (max-width: 1024px) {
            .nav-links {
                gap: 15px;
            }
        
            .nav-link {
                font-size: 15px;
                padding: 6px 12px;
            }
            
            .form-grid {
                grid-template-columns: 1fr;
            }
            
            .form-group.full-width {
                grid-column: span 1;
            }
            
            .form-actions {
                grid-column: span 1;
            }
        }
        
        @media (max-width: 768px) {
            .nav-toggle {
                display: block;
            }
        
            .nav-links {
                position: fixed;
                top: 80px;
                right: -100%;
                flex-direction: column;
                background: var(--glass);
                backdrop-filter: blur(12px) saturate(180%);
                padding: 25px 30px;
                border-radius: 15px 0 0 15px;
                box-shadow: -5px 0 15px var(--glass-shadow);
                transition: right 0.4s ease;
                z-index: 99;
                border: 1px solid var(--glass-border);
                gap: 15px;
            }
        
            .nav-links.active {
                right: 0;
            }
            
            .page-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 20px;
            }
            
            .record-actions {
                width: 100%;
                justify-content: center;
            }
            
            .filter-row {
                flex-direction: column;
                gap: 15px;
            }
            
            .record-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
                gap: 20px;
            }
        }
        
        @media (max-width: 480px) {
            .navbar {
                padding: 12px 15px;
            }
        
            .logo-text {
                font-size: 20px;
            }
        
            .search-box {
                display: none;
            }
            
            .record-action-btn {
                padding: 10px 15px;
                font-size: 14px;
            }
            
            .record-grid {
                grid-template-columns: 1fr;
            }
        }
    </style>
</head>

<body>
    <div class="container">
        <!-- 顶部导航栏 -->
        <nav class="navbar">
            <div class="logo">
                <div class="logo-icon">
                    <i class="fas fa-hourglass-half"></i>
                </div>
                <div class="logo-text">人生时光轴</div>
            </div>

            <!-- 移动端菜单按钮 -->
            <div class="nav-toggle">
                <i class="fas fa-bars"></i>
            </div>

            <div class="nav-links">
                <a href="#" class="nav-link">时光轨迹</a>
                <a href="#" class="nav-link active">生命记录</a>
                <a href="#" class="nav-link">记忆中心</a>
                <a href="#" class="nav-link">蓝图规划</a>
                <a href="#" class="nav-link">人物自传</a>
                <a href="#" class="nav-link">时空胶囊</a>
            </div>

            <div class="user-actions">
                <div class="search-box">
                    <i class="fas fa-search"></i>
                    <input type="text" placeholder="搜索生命记录...">
                </div>
                <div class="user-profile">S</div>
            </div>
        </nav>

        <!-- 主内容区 -->
        <div class="main-content">
            <div class="content-area">
                <!-- 页面标题区 -->
                <div class="page-header">
                    <div>
                        <h1 class="page-title">生命记录</h1>
                        <p class="page-subtitle">珍藏生命中每一个重要时刻，构建属于你的记忆宝库</p>
                    </div>
                    <div class="record-actions">
                        <button class="record-action-btn" id="addRecordBtn">
                            <i class="fas fa-plus-circle"></i> 新增记录
                        </button>
                        <button class="record-action-btn secondary">
                            <i class="fas fa-sliders-h"></i> 高级筛选
                        </button>
                    </div>
                </div>
                
                <!-- 筛选区 -->
                <div class="filter-section">
                    <div class="filter-row">
                        <div class="filter-group">
                            <label class="filter-label">时间范围</label>
                            <select class="filter-select">
                                <option>全部时间</option>
                                <option>最近一周</option>
                                <option>最近一个月</option>
                                <option>最近一年</option>
                                <option>自定义范围</option>
                            </select>
                        </div>
                        
                        <div class="filter-group">
                            <label class="filter-label">记录类型</label>
                            <select class="filter-select">
                                <option>全部类型</option>
                                <option>重要时刻</option>
                                <option>日常生活</option>
                                <option>旅行经历</option>
                                <option>成长里程碑</option>
                                <option>情感记忆</option>
                                <option>工作成就</option>
                            </select>
                        </div>
                        
                        <div class="filter-group">
                            <label class="filter-label">情感标签</label>
                            <select class="filter-select">
                                <option>全部情感</option>
                                <option>喜悦</option>
                                <option>感动</option>
                                <option>成就</option>
                                <option>思考</option>
                                <option>怀念</option>
                                <option>平静</option>
                            </select>
                        </div>
                    </div>
                    
                    <div class="filter-row">
                        <div class="filter-group">
                            <label class="filter-label">排序方式</label>
                            <select class="filter-select">
                                <option>按时间倒序</option>
                                <option>按时间顺序</option>
                                <option>按重要性</option>
                                <option>按情感强度</option>
                            </select>
                        </div>
                        
                        <div class="filter-group">
                            <label class="filter-label">关键词搜索</label>
                            <input type="text" class="filter-select" placeholder="输入关键词搜索...">
                        </div>
                        
                        <div class="filter-group" style="display: flex; align-items: flex-end;">
                            <button class="btn btn-primary" style="width: 100%;">
                                <i class="fas fa-filter"></i> 应用筛选
                            </button>
                        </div>
                    </div>
                </div>
                
                <!-- 记录展示区 -->
                <div class="record-grid">
                    <!-- 记录卡片 1 -->
                    <div class="record-card">
                        <div class="record-media">
                            <img src="https://images.unsplash.com/photo-1501555088652-021faa106b9b?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80" alt="毕业典礼">
                            <span class="record-type">成长里程碑</span>
                        </div>
                        <div class="record-content">
                            <div class="record-date">
                                <i class="fas fa-calendar"></i> 2023年6月15日
                            </div>
                            <h3 class="record-title">大学毕业典礼</h3>
                            <p class="record-desc">四年大学生涯的完美收官，与同学们共同庆祝这个重要时刻，校长亲自颁发毕业证书。</p>
                            <div class="record-tags">
                                <span class="record-tag">喜悦</span>
                                <span class="record-tag">成就</span>
                                <span class="record-tag">友情</span>
                            </div>
                        </div>
                        <div class="record-actions-bar">
                            <div class="action-icon">
                                <i class="fas fa-heart"></i> 42
                            </div>
                            <div class="action-icon">
                                <i class="fas fa-comment"></i> 15
                            </div>
                            <div class="action-icon">
                                <i class="fas fa-share-alt"></i>
                            </div>
                            <div class="action-icon">
                                <i class="fas fa-ellipsis-h"></i>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 记录卡片 2 -->
                    <div class="record-card">
                        <div class="record-media">
                            <img src="https://images.unsplash.com/photo-1503220317375-aaad61436b1b?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80" alt="旅行">
                            <span class="record-type">旅行经历</span>
                        </div>
                        <div class="record-content">
                            <div class="record-date">
                                <i class="fas fa-calendar"></i> 2023年8月22日
                            </div>
                            <h3 class="record-title">西藏朝圣之旅</h3>
                            <p class="record-desc">独自踏上西藏高原，感受布达拉宫的庄严神圣，在纳木错湖边静思人生意义。</p>
                            <div class="record-tags">
                                <span class="record-tag">平静</span>
                                <span class="record-tag">思考</span>
                                <span class="record-tag">自然</span>
                            </div>
                        </div>
                        <div class="record-actions-bar">
                            <div class="action-icon">
                                <i class="fas fa-heart"></i> 28
                            </div>
                            <div class="action-icon">
                                <i class="fas fa-comment"></i> 8
                            </div>
                            <div class="action-icon">
                                <i class="fas fa-share-alt"></i>
                            </div>
                            <div class="action-icon">
                                <i class="fas fa-ellipsis-h"></i>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 记录卡片 3 -->
                    <div class="record-card">
                        <div class="record-media">
                            <img src="https://images.unsplash.com/photo-1543269865-cbf427effbad?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80" alt="家庭聚会">
                            <span class="record-type">情感记忆</span>
                        </div>
                        <div class="record-content">
                            <div class="record-date">
                                <i class="fas fa-calendar"></i> 2023年9月10日
                            </div>
                            <h3 class="record-title">爷爷80大寿</h3>
                            <p class="record-desc">全家四代同堂为爷爷庆祝80岁生日，老人家的笑容是今天最珍贵的礼物。</p>
                            <div class="record-tags">
                                <span class="record-tag">亲情</span>
                                <span class="record-tag">感动</span>
                                <span class="record-tag">家庭</span>
                            </div>
                        </div>
                        <div class="record-actions-bar">
                            <div class="action-icon">
                                <i class="fas fa-heart"></i> 65
                            </div>
                            <div class="action-icon">
                                <i class="fas fa-comment"></i> 22
                            </div>
                            <div class="action-icon">
                                <i class="fas fa-share-alt"></i>
                            </div>
                            <div class="action-icon">
                                <i class="fas fa-ellipsis-h"></i>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 记录卡片 4 -->
                    <div class="record-card">
                        <div class="record-media">
                            <img src="https://images.unsplash.com/photo-1553877522-43269d4ea984?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80" alt="工作成就">
                            <span class="record-type">工作成就</span>
                        </div>
                        <div class="record-content">
                            <div class="record-date">
                                <i class="fas fa-calendar"></i> 2023年11月5日
                            </div>
                            <h3 class="record-title">升职为项目主管</h3>
                            <p class="record-desc">经过两年的努力，今天正式晋升为项目主管，团队为我举办了温馨的庆祝会。</p>
                            <div class="record-tags">
                                <span class="record-tag">成就</span>
                                <span class="record-tag">责任</span>
                                <span class="record-tag">成长</span>
                            </div>
                        </div>
                        <div class="record-actions-bar">
                            <div class="action-icon">
                                <i class="fas fa-heart"></i> 38
                            </div>
                            <div class="action-icon">
                                <i class="fas fa-comment"></i> 12
                            </div>
                            <div class="action-icon">
                                <i class="fas fa-share-alt"></i>
                            </div>
                            <div class="action-icon">
                                <i class="fas fa-ellipsis-h"></i>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 记录卡片 5 -->
                    <div class="record-card">
                        <div class="record-media">
                            <img src="https://images.unsplash.com/photo-1511795409834-ef04bbd61622?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80" alt="音乐会">
                            <span class="record-type">重要时刻</span>
                        </div>
                        <div class="record-content">
                            <div class="record-date">
                                <i class="fas fa-calendar"></i> 2023年7月8日
                            </div>
                            <h3 class="record-title">第一次听交响乐</h3>
                            <p class="record-desc">在国家大剧院聆听贝多芬第九交响曲，音乐的力量让我热泪盈眶，感受到艺术的震撼。</p>
                            <div class="record-tags">
                                <span class="record-tag">艺术</span>
                                <span class="record-tag">感动</span>
                                <span class="record-tag">文化</span>
                            </div>
                        </div>
                        <div class="record-actions-bar">
                            <div class="action-icon">
                                <i class="fas fa-heart"></i> 47
                            </div>
                            <div class="action-icon">
                                <i class="fas fa-comment"></i> 18
                            </div>
                            <div class="action-icon">
                                <i class="fas fa-share-alt"></i>
                            </div>
                            <div class="action-icon">
                                <i class="fas fa-ellipsis-h"></i>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 记录卡片 6 -->
                    <div class="record-card">
                        <div class="record-media">
                            <img src="https://images.unsplash.com/photo-1513151233558-d860c5398176?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80" alt="读书会">
                            <span class="record-type">日常生活</span>
                        </div>
                        <div class="record-content">
                            <div class="record-date">
                                <i class="fas fa-calendar"></i> 2023年10月19日
                            </div>
                            <h3 class="record-title">读书会分享《活着》</h3>
                            <p class="record-desc">在社区读书会分享《活着》的读后感，与书友们深入探讨生命的意义与韧性。</p>
                            <div class="record-tags">
                                <span class="record-tag">思考</span>
                                <span class="record-tag">学习</span>
                                <span class="record-tag">社交</span>
                            </div>
                        </div>
                        <div class="record-actions-bar">
                            <div class="action-icon">
                                <i class="fas fa-heart"></i> 33
                            </div>
                            <div class="action-icon">
                                <i class="fas fa-comment"></i> 9
                            </div>
                            <div class="action-icon">
                                <i class="fas fa-share-alt"></i>
                            </div>
                            <div class="action-icon">
                                <i class="fas fa-ellipsis-h"></i>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 添加记录表单 -->
                <div class="add-record-form" id="recordForm">
                    <div class="form-header">
                        <h2 class="form-title">添加新的人生记录</h2>
                        <button class="close-form" id="closeFormBtn">
                            <i class="fas fa-times"></i>
                        </button>
                    </div>
                    
                    <div class="form-grid">
                        <div class="form-group">
                            <label class="form-label">记录标题</label>
                            <input type="text" class="form-control" placeholder="输入记录标题">
                        </div>
                        
                        <div class="form-group">
                            <label class="form-label">记录日期</label>
                            <input type="date" class="form-control">
                        </div>
                        
                        <div class="form-group">
                            <label class="form-label">记录类型</label>
                            <select class="form-control">
                                <option>选择记录类型</option>
                                <option>重要时刻</option>
                                <option>日常生活</option>
                                <option>旅行经历</option>
                                <option>成长里程碑</option>
                                <option>情感记忆</option>
                                <option>工作成就</option>
                            </select>
                        </div>
                        
                        <div class="form-group">
                            <label class="form-label">情感标签</label>
                            <select class="form-control">
                                <option>选择情感标签</option>
                                <option>喜悦</option>
                                <option>感动</option>
                                <option>成就</option>
                                <option>思考</option>
                                <option>怀念</option>
                                <option>平静</option>
                                <option>激动</option>
                            </select>
                        </div>
                        
                        <div class="form-group full-width">
                            <label class="form-label">记录内容</label>
                            <textarea class="form-control" rows="5" placeholder="详细描述这个重要时刻..."></textarea>
                        </div>
                        
                        <div class="form-group full-width">
                            <label class="form-label">上传照片/视频</label>
                            <div style="border: 2px dashed var(--glass-border); border-radius: 10px; padding: 30px; text-align: center; background: rgba(255,255,255,0.4);">
                                <i class="fas fa-cloud-upload-alt" style="font-size: 36px; color: var(--color02); margin-bottom: 15px;"></i>
                                <p style="color: var(--color02);">拖放文件到此处或点击上传</p>
                                <p style="font-size: 13px; color: var(--color02); margin-top: 10px;">支持 JPG, PNG, MP4 格式，最大 20MB</p>
                            </div>
                        </div>
                        
                        <div class="form-actions">
                            <button class="btn btn-secondary">取消</button>
                            <button class="btn btn-primary">保存记录</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        // 移动端导航菜单切换
        const navToggle = document.querySelector('.nav-toggle');
        const navLinks = document.querySelector('.nav-links');

        navToggle.addEventListener('click', () => {
            navToggle.querySelector('i').classList.toggle('fa-bars');
            navToggle.querySelector('i').classList.toggle('fa-times');
            navLinks.classList.toggle('active');
        });

        // 导航链接激活状态切换
        document.querySelectorAll('.nav-link').forEach(link => {
            link.addEventListener('click', function (e) {
                e.preventDefault();
                document.querySelectorAll('.nav-link').forEach(el => {
                    el.classList.remove('active');
                });
                this.classList.add('active');

                // 移动端点击后关闭菜单
                if (window.innerWidth <= 768) {
                    navLinks.classList.remove('active');
                    navToggle.querySelector('i').classList.add('fa-bars');
                    navToggle.querySelector('i').classList.remove('fa-times');
                }
            });
        });

        // 记录表单切换
        const addRecordBtn = document.getElementById('addRecordBtn');
        const recordForm = document.getElementById('recordForm');
        const closeFormBtn = document.getElementById('closeFormBtn');

        addRecordBtn.addEventListener('click', () => {
            recordForm.style.display = 'block';
            recordForm.scrollIntoView({ behavior: 'smooth' });
        });

        closeFormBtn.addEventListener('click', () => {
            recordForm.style.display = 'none';
        });

        // 卡片悬停效果
        document.querySelectorAll('.record-card').forEach(card => {
            card.addEventListener('mouseenter', function () {
                this.style.transform = 'translateY(-8px)';
            });

            card.addEventListener('mouseleave', function () {
                this.style.transform = 'translateY(0)';
            });
        });

        // 设置今天的日期为默认值
        const today = new Date();
        const formattedDate = today.toISOString().split('T')[0];
        document.querySelector('.add-record-form input[type="date"]').value = formattedDate;

        // 动画效果增强
        window.addEventListener('scroll', () => {
            const navbar = document.querySelector('.navbar');
            if (window.scrollY > 10) {
                navbar.style.boxShadow = '0 6px 25px rgba(83, 71, 57, 0.25)';
                navbar.style.backdropFilter = 'blur(16px) saturate(180%)';
            } else {
                navbar.style.boxShadow = '0 4px 20px var(--glass-shadow)';
                navbar.style.backdropFilter = 'blur(12px) saturate(180%)';
            }
        });
        
        // 卡片加载动画
        document.querySelectorAll('.record-card').forEach((card, index) => {
            card.style.animationDelay = `${index * 0.1}s`;
            card.classList.add('fade-in-up');
        });
    </script>
</body>
</html>